import request from '@/utils/request'

export function sendEmail(email: any, type: any) {
  return request({
    url: '/public/ask-code',
    params: {
      email: email,
      type: type
    },
    method: 'get'
  })
}
